home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 35
/
Aminet 35 (2000)(Schatztruhe)[!][Feb 2000].iso
/
Aminet
/
dev
/
cross
/
devpic.readme
< prev
next >
Wrap
Text File
|
2000-01-02
|
5KB
|
142 lines
Short: PIC16 development package
Author: rdc@cyberstorm.mtu-net.ru (Denis I.Sotchenko)
Uploader: rdc@cyberstorm.mtu-net.ru
Version: 1.2
Type: dev/cross
Replaces: dev/cross/devpic.lha
Current version of this package contains:
picprog - simple CLI-based PIC16 «development» programmer
picasm - AmigaOS port of PIC12/16 assembler by Timo Rossi
Both tools have full C source code, ready for SAS/C 6.58 recompile.
Binaries for 68000 included. You can recompile it for your CPU.
Included picasm version has some differencies from original 1.06
version: some bugfixes and full PIC12/16 line support (from Microchip
Product Line Card 3Q1999).
picprog supports all current PIC16 Flash microcontrollers: PIC16C8x,
PIC16F8x, PIC16F62x, PIC16F87x. It was really tested and works with
PIC16F84 and PIC16F876. It has intelligent programming algorithm -
before location programming it will read old value and will program
location only if it is different. As a result, programming of new
version of code may take only some milliseconds.
Additionally, picprog has SmartFlash algorithm, usable for new
(PIC16F84A and others) Flash PICs. If it will be enabled, picprog
reads all code in temporary buffer and calculates time for two
programming modes: erase programming cycles, and bulk erase and
programming only cycles (programming only cycle for 16F87x is 2ms,
erase programming - 4ms). If there are only some differencies (for
example, if you compile new version of code with only one new
constant), erase programming cycle will be performed. If there are
MANY differencies (new commands at begin of program), picprog will
erase all code (Bulk Erase command) and program chip by faster
Programming Only commands.
At result, new picprog may program new Flash PIC16 up to 5 (five)
times faster than old picprog and some other programmers.
Usage:
picprog FILE [FORCE=xxxx] [CONFIGWORD=xxxx] [VERIFY] [SMARTFLASH=n]
FILE - object file in Intel Hex format, generated by picasm or
any other PIC assembler.
FORCE - configuration word. It will be programmed ONLY if FORCE
keyword presents. If PIC has code protection turned on,
it will be turned off and code EEPROM will be cleared.
This config word MUST NOT contain code protection bits!
CONFIGWORD - this configuration word will be written after programming
of code. It is the only way to do code protect.
SMARTFLASH - enables SmartFlash algorithm as described above.
Argument is number of milliseconds required for
Programming Only cycle (5ms for PIC16F8xA, 2ms for
PIC16F62x and PIC16F87x).
SmartFlash DOES NOT WORK WITH PIC16C84 and PIC16F84!
VERIFY - additional verify cycle for better reliability.
Configuration word must be entered in decimal form. You can find
configuration word formats in PIC programming specifications may be
found on Microchip website or free Microchip Technical Library CD-ROM.
picprog uses the same hardware that popular EPIC. This is simple
device in parallel port.
Included picasm package contains own documentation.
Both programs are tested on:
Amiga 1200
Amiga 1200, Blizzard 1230, 32M RAM
Amiga 1200, Blizzard 1260, 33M RAM, SCSI
System requirenents: OS 2.x
History:
version 1.2
- code protecting support
- SmartFlash algorithm
- all hardware support moved to separate section of source code
- bug fixed: parallel port hardware was not correctly allocated
- only 68000 binaries included: no speed differencies was found
version 1.1
- first Aminet release
Future versions will have:
- more devices support (OTP/UW)
- MUI GUI
- debugger (maybe)
picprog is FREE and PUBLIC DOMAIN. You can use it and source
code for any puproses, incliding commercial use.
picasm has own license.
Intel is a registered trademark of Intel Corporation
Microchip, PIC and ICSP are registered trademarks of Microchip
Technology Inc.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
103 92 10.6% 02-Dec-99 20:28:14 +readme
4912 4912 0.0% 02-Dec-99 20:25:12 +Schematic.png
37536 21081 43.8% 15-Dec-99 04:27:42 picasm
6789 1767 73.9% 19-Apr-98 20:19:10 +config.c
8508 980 88.4% 27-Nov-99 21:22:00 +devices.c
1430 687 51.9% 15-Sep-96 03:12:16 +example.asm
3323 1487 55.2% 05-Apr-98 16:10:48 +morse.asm
3808 965 74.6% 18-Mar-96 00:48:12 +morse.h
942 422 55.2% 05-Apr-98 16:08:30 +pic16c84.h
1141 339 70.2% 13-Feb-96 05:05:06 +picmac.h
8260 2025 75.4% 04-May-98 05:37:20 +expr.c
1433 760 46.9% 04-May-98 04:20:56 +LICENSE
5465 1571 71.2% 19-Apr-98 20:20:26 +pic12bit.c
5585 1525 72.6% 19-Apr-98 20:20:28 +pic14bit.c
32555 9158 71.8% 15-Dec-99 04:27:12 +picasm.c
7700 3001 61.0% 02-Dec-99 20:29:18 +picasm.doc
7639 2976 61.0% 27-Nov-99 21:24:06 +picasm.h
48 48 0.0% 02-Dec-99 20:21:42 +README
414 207 50.0% 27-Nov-99 21:27:52 +smakefile
3874 1266 67.3% 19-Apr-98 20:21:34 +symtab.c
16530 4043 75.5% 19-Apr-98 20:21:06 +token.c
3892 2412 38.0% 15-Dec-99 04:28:32 picprog
15959 3902 75.5% 15-Dec-99 04:21:16 +picprog.c
3959 1849 53.2% 15-Dec-99 05:00:16 readme
-------- ------- ----- --------- --------
181805 67475 62.8% 16-Dec-99 04:33:48 24 files